﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<agent02.Model.RegisterModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Đăng Kí
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Đăng Kí</h2>
    <% using (Html.BeginForm())
       {%>
        <%: Html.ValidationSummary(true)%>
    <fieldset>
        
        <table>
            <tr>
                <td>
                    Họ Tên <span style="color:Red">*</span>
                </td>
                <td>
                    <%: Html.TextBoxFor(m => m.khachHang.HoTen)%>
                </td>
            </tr>
            <tr>
                <td>
                    CMND <span style="color:Red">*</span>
                </td>
                <td>
                    <%: Html.TextBoxFor(m => m.khachHang.CMND)%>
                </td>
            </tr>
            <tr>
                <td>
                    Địa Chỉ
                </td>
                <td>
                    <%: Html.TextBoxFor(m => m.khachHang.DiaChi)%>
                </td>
            </tr>
            <tr>
                <td>
                    Email <span style="color:Red">*</span>
                </td>
                <td>
                    <%: Html.TextBoxFor(m => m.khachHang.Email)%>
                </td>
            </tr>
            <tr>
                <td>
                    Số Điện Thoại
                </td>
                <td>
                    <%: Html.TextBoxFor(m => m.khachHang.SDT)%>
                </td>
            </tr>
            <tr>
                <td>
                    Tài Khoản Ngân Hàng
                </td>
                <td>
                    <%: Html.TextBoxFor(m => m.khachHang.TaiKhoanNganHang)%>
                </td>
            </tr>
            <tr>
                <td>
                    Tên Ngân Hàng
                </td>
                <td>
                    <%: Html.TextBoxFor(m => m.khachHang.TenNganHang)%>
                </td>
            </tr>
            <tr>
                <td>
                    Username <span style="color:Red">*</span>
                </td>
                <td>
                    <%: Html.TextBoxFor(m => m.taiKhoan.Username)%>
                </td>
            </tr>
            <tr>
                <td>
                    Password <span style="color:Red">*</span>
                </td>
                <td>
                    <%: Html.PasswordFor(m => m.taiKhoan.Password)%>
                </td>
            </tr>
            <tr>
                <td>
                    Nhập Lại Password <span style="color:Red">*</span>
                </td>
                <td>
                    <%: Html.PasswordFor(m => m.password)%>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <input type="submit" value="Lưu" />
                </td>
            </tr>
        </table>
        
    </fieldset>
    <% } %>
</asp:Content>

